#ifndef _SCROLLBAR_H_
#define _SCROLLBAR_H_

#include <interfacelib/window/Panel.h>
#include <interfacelib/window/Button.h>

namespace interfacelib
{
	namespace Window
	{
		class ScrollBar : public Panel
		{			
		public:
			ScrollBar();
			virtual ~ScrollBar();

		public:
			bool addScrollBar( const char *imageName );	
			
			const int getPosPercent();
			void setPosPercent( const int posPercent );

		protected:
			class ScrollButton : public Button
			{
			public:
				virtual void onMouseMove( int flags, POINT pt );
			};
			
		protected:
			ScrollButton *m_scrollButton;
		};
		
	};	
};

#endif